from src.actions.base_action import Advance,SpinAntiClockwise,Sleep,SpinClockwise,Stop
from src.utils import Controller

class Rotate():
    def __init__(self):
        self.force = True
        self.update_controller_speed = False
        self.action_seq = [
            Advance(speed=30),
            Sleep(1),
            SpinAntiClockwise(speed=35),
            Sleep(2),
            Advance(speed=30),
            Sleep(0.5),
            SpinClockwise(speed=35),
            Sleep(2),
            Stop()
        ]
        
        
ctrl = Controller()        
ctrl.execute(Rotate())